package com.wva.common.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "分页查询通用结果")
public class PageQueryVO<E> {
    @ApiModelProperty("总记录数")
    private Long total = 0L;

    @ApiModelProperty("总页数")
    private Long pages = 0L;

    @ApiModelProperty("该页数据")
    private List<E> list;
}
